package mest.service.Modeling;

import mest.entity.car_file;
import mest.entity.customer_type;
import mest.util.ResultObj;

import java.util.List;

/**
 * @Description
 * @auther Machenike
 * @create 2019-11-13 21:44
 */
public interface ICustomerTypeService {
    //    1.新增功能
    String insertCustomerType(customer_type ct,String theirDb);

    int selectCount(String theirDb);

    //   3.基本查询-分页
    List<customer_type> findCustomerTypePage(int index, int pageSize,String theirDb);



    //1.删除方法
    int delModel(Integer id,String theirDb);
    //2.基本查询-分页-模糊查询-过滤删除订单
    List<customer_type> queryAll(Integer index,
                                 Integer pageSize, String record,String theirDb);
    //3.查询总数
    int findCount(String record,String theirDb);
    //4.更新方法
    String updateByOne(customer_type record, String theirDb);


}
